using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataModels.Models
{
    [Table("ReportData")]
    public partial class ReportData
    {
        [Key]
        public int SID { get; set; }
        public Nullable<int> ReceivedSMSNo { get; set; }
        public Nullable<int> RepID { get; set; }
        public Nullable<int> DataPosition { get; set; }

        [StringLength(50)]
        public string Data { get; set; }

        [ForeignKey("ReceivedSMSNo")]
        public virtual ReceivedSM ReceivedSM { get; set; }

        [ForeignKey("RepID")]
        public virtual Report Report { get; set; }
    }
}
